package com.hisan.freeride.home.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;


import com.hisan.freeride.R;
import com.hisan.freeride.common.view.RoundImageView;
import com.hisan.freeride.common.view.XCRoundImageView;


/**
 * 我的消息item
 */
public class MessageViewHolder extends RecyclerView.ViewHolder {
    public TextView message_name;//消息名称
    public XCRoundImageView stauts;//未读标识
    public TextView message_data;//时间
    public TextView message_news;//消息内容
    public TextView message_id;
    public TextView delete;
    public LinearLayout layout;

    public MessageViewHolder(View itemView) {
        super(itemView);
        message_name = (TextView) itemView.findViewById(R.id.message_name);
        message_data = (TextView) itemView.findViewById(R.id.message_data);
        message_news = (TextView) itemView.findViewById(R.id.message_news);
        message_id = (TextView) itemView.findViewById(R.id.message_id);
        stauts= (XCRoundImageView) itemView.findViewById(R.id.message_stauts);
        delete = (TextView) itemView.findViewById(R.id.item_delete);
        layout = (LinearLayout) itemView.findViewById(R.id.item_layout);
    }


}
